package com.sihan.framework.etm.mapper;

import com.framework.mybatis.mapper.BaseMapper;
import com.sihan.framework.etm.entity.CodeSTD;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CodeMapper extends BaseMapper<CodeSTD, String> {

	List<Map<String, Object>> getCodeByType(@Param("codeType") String codeType);
	
	String getCodeByValueAndKey(@Param("codeType") String codeType,@Param("codeValue") String codeValue);

	CodeSTD getCodeValueByValueAndKey(@Param("codeType") String codeType,@Param("codeValue") String codeValue);
}